<?php
$html = $this->getChildHtml();
?>
<?php if ($this->countChildren() > 0 && $html != ''): ?>
		<div class="block block-product-tab"><div id="aaa"><?php echo $this->getChildHtml();?></div></div>
<?php endif ?>

<script type="text/javascript">
jQuery(function($) {
$('#aaa').tabs(); 
});
</script>